<?php	namespace Home\Controller;
/**
 * 支付成功页面
 * @author 武斌    <wubin.mail@foxmail.com>
 */
class PayNowController extends CommonController
{
	protected $db;
	public function __init()
	{
		$this->db = new \Home\Model\OrderL; 
	}
	/**
	 * 点击支付成功之后执行
	 */
	public function payOk()
	{
		$number = Q('get.number',0,'intval');
		if(!$this->db->payEdit($number)){
			$this->error($this->db->error);
		}		
	}
}
